import { getHttp, postHttp, putHttp } from '../utils/http'
import { GETHttp } from '../utils/https'
//获取评论列表
export const getMessage = async (params) => {
  return await getHttp('/api/get_message', params)
}
//网络接口
export const GETMessage = async (params) => {
  return await GETHttp('/api/comment', params)
}
//设置评论状态
export const setMessageStatu = async (params) => {
  return await postHttp('/api/set_messageStatu', params)
}
//删除评论
export const delMessage = async (params) => {
  return await postHttp('/api/del_message', params)
}
//回复评论
export const replyMessage = async (params) => {
  return await putHttp('/api/reply_message', params)
}
